package com.sdy.kzyy.biz.dto;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * <p>
 * 注释
 * </p>
 *
 * @author cgj
 * @since 2020/03/25
 */
@Data
@Accessors(chain = true)
@ApiModel(value = "药店列表页")
@ColumnWidth(15)
public class StoreManageDTO {

    /**
     * id
     */
    @ExcelIgnore
    @ApiModelProperty(value = "id")
    private Integer id;

    /**
     * 药店名
     */
    @ExcelProperty(value = "网点名" ,index = 0)
    @ApiModelProperty(value = "网点名")
    private String name;

    /**
     * 药店状态：1-开启，2-关闭
     */
    @ExcelIgnore
    @ApiModelProperty(value = "药店状态：1-开启，2-关闭")
    private Integer storeStatus;


    /**
     * 地址
     */
    @ExcelIgnore
    @ApiModelProperty(value = "地址")
    private String areaName;

    /**
     * 地址
     */
    @ExcelIgnore
    @ApiModelProperty(value = "地址code")
    private String areaCode;

    /**
     * 详细地址
     */
    @ExcelIgnore
    @ApiModelProperty(value = "详细地址")
    private String address;

    /**
     * 地址areaName+address
     */
    @ExcelProperty(value = "地址" ,index = 1)
    @ApiModelProperty(value = "地址areaName+address")
    private String areaAddress;

    /**
     * 联系人
     */
    @ExcelProperty(value = "联系人" ,index = 2)
    @ApiModelProperty(value = "联系人")
    private String contacts;

    /**
     * 联系方式
     */
    @ExcelProperty(value = "联系方式" ,index = 3)
    @ApiModelProperty(value = "联系方式")
    private String contactsPhone;

    /**
     * 剩余
     */
    @ExcelProperty(value = "剩余" ,index = 4)
    @ApiModelProperty(value = "剩余")
    private Integer kzCount;

    /**
     * 存货
     */
    @ExcelProperty(value = "存货" ,index = 5)
    @ApiModelProperty(value = "存货")
    private Integer allCount;

    /**
     * 次日补货量
     */
    @ExcelIgnore
    private Integer replenishNextday;

    /**
     * 下单时间
     */
    @ExcelIgnore
    @ApiModelProperty(value = "可取货时间")
    private String appointTime;

    /**
     * week
     */
    @ExcelIgnore
    @ApiModelProperty(value = "week")
    private String week;

    /**
     * weekTime
     */
    @ExcelIgnore
    @ColumnWidth(30)
    @ExcelProperty(value = "可取货时间" ,index = 6)
    @ApiModelProperty(value = "weekTime")
    private String weekTime;

    /**
     * weekTimeDate
     */
    @ColumnWidth(30)
    @ExcelProperty(value = "可取货时间" ,index = 6)
    @ApiModelProperty(value = "weekTimeDate")
    private String weekTimeDate;

}
